![]() |
SetScriptManagerVariable |
||||
Header: | Script.h | Carbon status: | Supported | |
Sets the specified Script Manager variable to the value of the input parameter.
OSErr SetScriptManagerVariable ( SInt16 selector, SInt32 param );
A value that specifies a particular Script Manager variable. To specify the Script Manager variable whose value you wish to change, use one of the selector constants listed in
The new value for the specified Script Manager variable.
The actual values to be assigned may be long integers, standard integers, or signed bytes. If the value is other than a long integer, you must store it in the low-order word or byte of the param parameter and set the unused bytes to 0.
A result code. The value smBadVerb if the selector is not valid. Otherwise, the function returns 0 (noErr).
The Script Manager maintains a set of variables that control general settings of the text environment, including the identity of the system script and the keyboard script, and the settings of the font force flag and the international resources selection flag.
You may want access to the Script Manager variables in order to understand the current environment or to modify it.
Supported in Carbon. Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)